﻿using Microsoft.Reporting.WebForms;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace YERIL_PI_INT.PaginasWebs.Modulos.Login
{
    public partial class ReporteUno : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //WSGestion.WSGestion wsgest = new WSGestion.WSGestion();
            //wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs");


            //if (IsPostBack)
            //{
            //    DataTable dt = wsgest.ReporteUno();
            //    ReportViewer1.ProcessingMode = ProcessingMode.Local;
            //    LocalReport localReport = ReportViewer1.LocalReport;

            //    localReport.ReportPath = "Rep_Uno.rdlc";

            //    ReportDataSource ds =new ReportDataSource();
            //    ds.Name = "Ds_RepUno";
            //    ds.Value = dt;


            //    ReportViewer1.LocalReport.DataSources.Clear();

            //    localReport.DataSources.Add(ds);


            //}

        }
    }
}